package com.wangxiaonan.berry.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * System Exception 系统异常
 *
 * @Author: wangxiaonan
 * @Date: 2018/12/28
 **/
@ResponseStatus(code = HttpStatus.INTERNAL_SERVER_ERROR)
public class SystemException extends RuntimeException {

    private static final long serialVersionUID = -4035935556827345188L;

    public SystemException() {
        super();
    }

    public SystemException(String message) {
        super(message);
    }

    public SystemException(String message, Throwable cause) {
        super(message, cause);
    }

    public SystemException(Throwable cause) {
        super(cause);
    }
}
